<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .pic-list img{
            width:320px;
            height:160px;
        }
        .big-pic{
            position: absolute;
        }
        .big-pic img{
            width:640px;
            height:320px;
        }
    </style>
</head>
<body>
    <div class="pic-list">
        <img src="images/1.png" alt="">
        <img src="images/2.png" alt="">
        <img src="images/3.png" alt="">
    </div>
    <div class="big-pic">
        <!-- <img src="" alt=""> -->
    </div>
    <script src="jquery.js"></script>
    <script>
        $(".pic-list img").mousemove(function(){
            // $("img").css(`<img src="${this.src}`)
            $(".big-pic").text()
        })
        $(".pic-list img").mouseleave(function(){
            // bigPic.innerHTML=""
            // console.log("1")
            
        })
        $(".pic-list").mousemove = function(e){
            let x = e.clientX;
            let y = e.clientY;
            // bigPic.style.top = y + 10 + "px";
            // bigPic.style.left = x + 10 + "px";
            $(".big-pic").css({
                "top":y + 10 + "px",
                "left":x + 10 + "px"
            })
        }
    </script>
</body>
</html>